/********************************************************************************
 * Project Name		[JavaEE_JDBC]
 * File Name     	[DataTypeMapping.java]
 * Creation Date 	[2015-01-01]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ********************************************************************************/
package _notes;

/**
 * @author 不落的太阳(Sean Yang aka ShortPeace)
 * @version 1.0
 * @since jdk 1.8
 * 
 */
public final class DataTypeMapping {

	public void mapping() {
		/**
		 * Java和Database之间的数据关系类型映射 <code>
		 * SQL			JDBC/Java				JDBC setXXX		JDBC getXXX<br?>
		 * --------------------------------------------------------------------
		 * VARCHAR		java.lang.String		setString		getString
		 * CHAR			java.lang.String		setString		getString
		 * LONGVARCHAR	java.lang.String		setString		getString
		 * BIT			boolean					setBoolean		getBoolean
		 * NUMERIC		java.math.BigDecimal	setBigDecimal	getBigDecimal
		 * TINYINT		byte					setByte			getByte
		 * SMALLINT		short					setShort		getShort
		 * INTEGER		int						setInt			getInt
		 * BIGINT		long					setLong			getLong
		 * REAL			float					setFloat		getFloat
		 * FLOAT		float					setFloat		getFloat
		 * DOUBLE		double					setDouble		getDouble
		 * VARBINARY	byte[]					setBytes		getBytes
		 * BINARY		byte[]					setBytes		getBytes
		 * DATE			java.sql.Date			setDate			getDate
		 * TIME			java.sql.Time			setTime			getTime
		 * TIMESTAMP	java.sql.Timestamp		setTimestamp	getTimestamp
		 * CLOB			java.sql.Clob			setClob			getClob
		 * BLOB			java.sql.Blob			setBlob			getBlob
		 * ARRAY		java.sql.Array			setARRAY		getARRAY
		 * REF			java.sql.Ref			SetRef			getRef
		 * STRUCT		java.sql.Struct			SetStruct		getStruct
		</code>
		 */
	}
}
